package com.magic233.mapper;

import com.magic233.entity.Users;

import java.util.List;

public interface UsersMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Users record);

    int insertSelective(Users record);

    Users selectByPrimaryKey(Long id);

    Users selectByPrimaryKey2(Long id);

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);

    Users selectUserByPhone(String phone);

    Users selectUserByPhone(Users user);

    Long selectCount(Users user);

    List<Users> selectUser(Users user);

    int deleteUserByDept(Users user);

    List<Users> selectAllUser();

    int updateByPhone(Users user);

    int updateOpenid(Users user);
}
